import axios from '@/utils/axios';
// 短信通知模板
export const querySmsModel = () => axios.get(`/bnd-benefits/careModel/querySmsModel`);
// 薪享卡发送通知模板
export const queryCardSmsNotice = () => axios.get(`/bnd-benefits/careModel/queryCardSmsNotice`);
// 生日霸屏新增与修改
export const saveAndUpdate = data => axios.post(`/bnd-benefits/careModel/saveAndUpdate`, data);
// 查询生日霸屏
export const queryBirthdayScreen = () =>
  axios.get(`/bnd-benefits/careModel/queryBirthdayScreenForPc`);
// 删除生日霸屏
export function careModelDelete(data) {
  return axios.request({
    url: `/bnd-benefits/careModel/delete/${data.id}`,
    method: 'delete',
    data: data,
  });
}
